<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <button id="btn">点击</button>
    <input type="date"/>
</body>
<!-- <script src="./perfData.js"></script> -->
<script src="./debounce.js">
</script>
<script>
    let dom = document.querySelector('#btn')

    const btnClick = function (msg) {
        console.log(msg, "----");

    }

    dom.addEventListener('click', throttle(() => btnClick("123"), 1000))
</script>

</html>